package com.cennavi.buss.service.imp;

import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

import com.cennavi.buss.service.ReportService;
import com.cennavi.minemap.bean.MessageBean;

@FeignClient(value = "solu-service", fallback = ReportService.class)
public interface IReportService {
	@RequestMapping(method = RequestMethod.POST, consumes = "application/x-www-form-urldecoded", value = "/service/report/{id}")
	public MessageBean queryReport(@PathVariable(value = "id") int id, @RequestBody String json);
}
